home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / GRAPHICS / RAYTRACING / POVRAY3 / POV301 / povray3 / docsdemo / pov / caustic2 < prev    next >
Text File  |  1997-01-21  |  621b  |  36 lines

  1. #include "colors.inc"
  2.  
  3. // Our camera is underwater, looking at the bottom of 
  4. // the pool for the best view of the caustics produced 
  5.  
  6. camera { 
  7.   location <0, -5, 0>
  8.   look_at  <0, -10, -5>
  9. }
  10.  
  11. light_source { <0, 100, 49.5> color White }
  12.  
  13. // the bottom of the pool...
  14.  
  15. plane { y, -10
  16.   texture {
  17.     pigment { color rgb <0.6, 0.7, 0.7> }
  18.     finish { ambient 0.1 diffuse 0.7 }
  19.     scale 0.01
  20.   }
  21. }
  22.  
  23. // and the surface of the water
  24.  
  25. plane { y, 0
  26.   texture { 
  27.     pigment { rgbf <0.6, 0.67, 0.72, 0.9> }
  28.     normal {
  29.       bumps .6
  30.       scale <.75, .25, .25>
  31.       rotate <0, 45, 0>
  32.     }
  33.     finish { caustics .9 }
  34.   }
  35. }
  36.